﻿using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InventoryManagementServer
{
    public class Product
    {
        [BsonId]
        public Guid Id
        {
            get;
            set;
        }

        public string BarCode
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public decimal UnitPrice
        {
            get;
            set;
        }

        public decimal Count
        {
            get;
            set;
        }
    }
}
